package com.been.common.action;

import com.been.common.page.PageInfo;

/**
 * action层处理信息类
 * @author been
 * 2011-10-02
 */
public class ActionHandleInfo {
	
	/**
	 * 分页信息
	 */
	private PageInfo pageInfo = new PageInfo();
	
	/**
	 * 返回action处理标识
	 */
	private String action;
	
	/**
	 * 当前选中的记录行ID
	 */
	private String currentRowId = "";
	
	/**
	 * 删除的记录总数，供删除时用
	 */
	private int deleteRowNums = 0;
	
	/**
	 *  操作状态
	 */
	private boolean operatStatus = true;
	
	/**
	 * 查询条件
	 */
	private String orderBy = "";
	
	/**
	 * 排序方式
	 */
	private String sortWay = "";

	public PageInfo getPageInfo() {
		return pageInfo;
	}

	public void setPageInfo(PageInfo pageInfo) {
		this.pageInfo = pageInfo;
	}

	public String getAction() {
		return action;
	}

	public void setAction(String action) {
		this.action = action;
	}

	public String getCurrentRowId() {
		return currentRowId;
	}

	public void setCurrentRowId(String currentRowId) {
		this.currentRowId = currentRowId;
	}

	public int getDeleteRowNums() {
		return deleteRowNums;
	}

	public void setDeleteRowNums(int deleteRowNums) {
		this.deleteRowNums = deleteRowNums;
	}

	public boolean isOperatStatus() {
		return operatStatus;
	}

	public void setOperatStatus(boolean operatStatus) {
		this.operatStatus = operatStatus;
	}

	public String getOrderBy() {
		return orderBy;
	}

	public void setOrderBy(String orderBy) {
		this.orderBy = orderBy;
	}

	public String getSortWay() {
		return sortWay;
	}

	public void setSortWay(String sortWay) {
		this.sortWay = sortWay;
	}
}
